using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using THSLib;

namespace THSERP.BaseProvider
{
    public partial class guiUserAudit : Form
    {
        public guiUserAudit()
        {
            InitializeComponent();
        }

        private void guiUserAudit_Load(object sender, EventArgs e)
        {
            InitUserAuditGridControl();
        }

        private void InitUserAuditGridControl()
        {
            GEUserAuditsController objGEUserAuditsController = new GEUserAuditsController();
            DataSet dsUserAudits = objGEUserAuditsController.GetAllObjects();            
            fld_dgcUserAudits.DataSource = dsUserAudits;
            fld_dgcUserAudits.DataMember = dsUserAudits.Tables[0].TableName;
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(guiUserAudit));
            this.SuspendLayout();
            // 
            // guiUserAudit
            // 
            this.ClientSize = new System.Drawing.Size(284, 262);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "guiUserAudit";
            this.ResumeLayout(false);

        }
    }
}